#include "Edgerunner.h"
#include "Gun.h"

#include <iostream>
#include <string>

using namespace std;

int main(int argc, char** argv){
    string name1;
    int age1;
    cout << "choose your hero(string input):" << endl;
    cin >> name1;
    cout << "age(int input):" << endl;
    cin >> age1;

    Edgerunner cyberpunk1(name1, age1);

    info_gun info_gun1 = {"DB-2", 200};
    Gun gun1(info_gun1);

    cyberpunk1.pick_gun(gun1);
    cyberpunk1.load_bullet(50);
    cyberpunk1.run();
    cyberpunk1.biubiubiu();
    cyberpunk1.legend();

    return 0;
}